#ifndef _KCS0022_KUnpacker_h__
#define _KCS0022_KUnpacker_h__

#include "../IUnpackager.h"

namespace KCS0022
{
	using namespace KUSI;

	class KUnpacker : public IUnpackager
	{
	protected:
		BYTE *pbyBuf;
	public:
		KUnpacker(void);
		~KUnpacker(void);

		virtual bool Init(IUnpackagerUI* pkUI);
		virtual int Unpack(const wchar_t* pwszSourcePackagePath, const wchar_t* pwszDestPath);

		int Unpack(LPCSTR pszSourcePackagePath, LPCSTR pszDestPath);
		BOOL Unpack(HANDLE hFilePak, LPCWSTR pwszPath);
		BOOL Unpack(HANDLE hFilePak, LPCSTR pszPath);
	};
}

#endif // KUnpacker_h__